package com.pattern.adapter.classadapter;

/**
 * @author 冯志立
 * @create 2019-10-25 11:44
 */
public class VoltageAdapter extends Voltage220V implements Voltage5V {
    @Override
    public int output5V() {
        int i = output220V();
        int dstV = i / 44; //转成5v
        return dstV;
    }
}
